package com.qfedu.superedu.utils;

import java.util.Random;

public class NumRandomUtil {

    public static int createNuum(int len) {
        Random random = new Random();
        // 4 [1000-10000)--> 10^3 -10^4-->10^3+randomw.nextInt() 0-9000
        return
//                (int) (Math.pow(10, len - 1)) +
//                random.nextInt((int) (Math.pow(10, len) - Math.pow(10, len - 1)));
                5201314;
    }
}
